// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import AmazeVue from 'amaze-vue'
import clipboard from 'clipboard'
import VueScroller from 'vue-scroller'
import 'amaze-vue/dist/amaze-vue.css'
import './directive'
// import ElementUI from 'element-ui'
// var infiniteScroll = require('vue-infinite-scroll')
import infiniteScroll from 'vue-infinite-scroll'

Vue.use(infiniteScroll)
// import mui from './style/js/mui.min.js'
// import './style/css/mui.min.css'

// 注册到vue原型上
// Vue.prototype.mui = mui
Vue.prototype.Clipboard = clipboard
// Vue.use(ElementUI)
Vue.use(AmazeVue)
Vue.use(VueScroller)
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>',
  directives: {
    infiniteScroll
  }
})
